package com.heima.feign.wemedia;

import com.heima.model.media.dtos.WmUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-wemedia")
public interface WemediaFilent {

    @PostMapping("/api/v1/wmuser/save")
     Integer createAndUpdateWmUser(@RequestBody WmUserDto dto);
}
